package com.xishu.entity.foodPandaOrder;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

public class Topping implements Serializable {

    private static final long serialVersionUID = -1406099183379777301L;
    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "价格")
    private String price;

    @ApiModelProperty(value = "数量")
    private int quantity;

    @ApiModelProperty(value = "在平台端的标识")
    private String id;

    @ApiModelProperty(value = "在POS端的标识")
    private String remoteCode;

    @ApiModelProperty(value = "类型，有1.PRODUCT 2.VARIANT 3.EXTRA 三种")
    private String type;

    @ApiModelProperty(value = "用于套餐下面菜品的显示循序")
    private Integer showOrder;

    @ApiModelProperty(value = "子Topping，最多可以嵌套五层")
    private List<?> children;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRemoteCode() {
        return remoteCode;
    }

    public void setRemoteCode(String remoteCode) {
        this.remoteCode = remoteCode;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<?> getChildren() {
        return children;
    }

    public void setChildren(List<?> children) {
        this.children = children;
    }

    public Integer getShowOrder() {
        return showOrder;
    }

    public void setShowOrder(Integer showOrder) {
        this.showOrder = showOrder;
    }
}
